//
//  LTSCalendarAppearance.h
//  LTSCalendar
//
//  Created by LTS_macbk on 16/5/24.
//  Copyright © 2016年 LTS. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, LTSCalendarWeekDayFormat) {
    /// 如: 日 一 二...
    LTSCalendarWeekDayFormatSingle,
    /// 如: 周日 周一 周二...
    LTSCalendarWeekDayFormatShort,
    /// 如: 星期日 星期一 星期二...
    LTSCalendarWeekDayFormatFull
};

@interface LTSCalendarAppearance : NSObject

/// Weekday
@property (assign, nonatomic) LTSCalendarWeekDayFormat weekDayFormat;
/// Weekday 从星期几开始 <默认 1 代表星期天/周日开始>
@property (nonatomic,assign) NSInteger firstWeekday;
/// Weekday 字体颜色
@property (strong, nonatomic) UIColor *weekDayTextColor;
/// Weekday 字体大小
@property (strong, nonatomic) UIFont *weekDayTextFont;
/// Weekday 背景颜色
@property (nonatomic,strong) UIColor *weekDayBgColor;

/// 日历 每个月显示多少周 <5周比较合适>
@property (nonatomic,assign)NSInteger weeksToDisplay;
/// 是否只显示一周日历 <默认false - 显示多行>
@property (nonatomic,assign)BOOL isShowSingleWeek;
/// 是否显示农历 <默认false - 不显示>
@property (nonatomic,assign) BOOL isShowLunarCalender;
/// 日期Item 高度 <默认50>
@property (nonatomic,assign)CGFloat dateItemHeight;
/// 日历背景颜色
@property (nonatomic,strong)UIColor *calendarBgColor;
/// 滚动试图背景颜色
@property (nonatomic,strong) UIColor *scrollBgcolor;
/// 阳历字体大小
@property (nonatomic,strong)UIFont *dayTextFont;
/// 阳历文本颜色
@property (nonatomic,strong)UIColor *dayTextColor;
/// 阳历选择后的文本颜色
@property (strong,nonatomic)UIColor *dayTextColorSelected;
/// 农历字体大小
@property (nonatomic,strong)UIFont *lunarDayTextFont;
/// 农历文本颜色
@property (nonatomic,strong)UIColor *lunarDayTextColor;
/// 农历选择后的文本颜色
@property (nonatomic,strong)UIColor *lunarDayTextColorSelected;

/// 今天文本颜色
@property (strong, nonatomic) UIColor *dayTextColorToday;

// 其他月份

/// 其他月份阳历字体大小
@property (nonatomic,strong)UIFont *dayTextFontOtherMonth;
/// 其他月份农历字体大小
@property (nonatomic,strong)UIFont *lunarDayTextFontOtherMonth;
/// 其他月份阳历文本颜色
@property (nonatomic,strong)UIColor *dayTextColorOtherMonth;
/// 其他月份农历文本颜色
@property (nonatomic,strong)UIColor *lunarDayTextColorOtherMonth;

/// 选中时日期实心圆的颜色
@property (strong, nonatomic) UIColor *dayCircleColorSelected;
/// 今天实心圆的颜色
@property (nonatomic,strong)  UIColor *dayCircleColorToday;
/// 今天外圈圆的颜色
@property (strong, nonatomic) UIColor *dayBorderColorToday;

/// 有事件 点的默认颜色
@property (nonatomic,strong) UIColor *dayDotColor;


/// 日期实心圆的大小
@property (assign, nonatomic) CGFloat dayCircleSize;
/// 事件点的大小
@property (assign, nonatomic) CGFloat dayDotSize;



+ (instancetype)share;
- (NSCalendar *)calendar;
- (NSCalendar *)chineseCalendar;

- (void)setDayDotColorForAll:(UIColor *)dotColor;
- (void)setDayTextColorForAll:(UIColor *)textColor;

@end
